// page/afterPay/afterPay.js
Page({
  data: {
    id: "",
    title: "",
  },
  onLoad: function (options) {
    var detail = JSON.parse(options.detail);
    this.setData({
      id: detail.ID,
      title: detail.Title
    });
  }
});